﻿using System;
using System.ComponentModel.DataAnnotations.Schema;

namespace ThresholdAssistant.WebAPI.Models
{
    /// <summary>
    /// 短信统计
    /// </summary>
    public class SmsStatistics
    {
        /// <summary>
        /// 日期
        /// </summary>
        [Column("send_date")]
        public DateTime SendDate { get; set; }

        /// <summary>
        /// 日期
        /// </summary>
        [Column("type")]
        public SmsTypeEnum Type { get; set; }

        /// <summary>
        /// 发送总量
        /// </summary>
        [Column("num_count")]
        public int NumCount { get; set; }

        /// <summary>
        /// 成功数量
        /// </summary>
        [Column("success_count")]
        public int SuccessCount { get; set; }

        /// <summary>
        /// 失败数量
        /// </summary>
        [Column("fail_count")]
        public int FailCount { get; set; }
    }
}
